package com.ttbj.core.session;

/**
 * 封装MMSession
 * 
 * @Author Daniel
 * @Date 2014-12-1 下午01:53:34
 * @Version 1.0
 */
public class CommonSessionFactory {

    /**
     * 获取MMSession
     * 
     * @return
     * @Author Daniel
     * @Date 2014-12-1 下午02:07:52
     * @Version V1.0
     * 
     */
    public static CommonSession getCommonSession() {
        return new CommonSessionImpl();
    }

    /**
     * 根据sessionId获取MMSession
     * 
     * @param sessionId
     * @return
     * @Author Daniel
     * @Date 2014-12-1 下午02:05:42
     * @Version V1.0
     * 
     */
    public static CommonSession getCommonSession(String sessionId) {
        return new CommonSessionImpl(sessionId);
    }

}
